<?php

// ---------------------------------------------------------------------------
// Please, don't touch this file.
// If you need to custom this Class, you can edit usuario.php
// file overwrite and define new methods
// ---------------------------------------------------------------------------

/**
 * 
 *
 * @Authors Sánchez Raúl 
 * @package cliente
 * @subpackage model
 */
class Usuario_protoweb extends Cliente_model
{
	public $table      = "usuarios";
	public $model      = "usuario";
	public $has_many   = array('actividad');
	public $has_one    = array();
		public $validation = array(
		'username' => array(
			'label' => 'Nombre de Usuario',
			'rules' => array('trim','required')			
		),
		'password' => array(
			'label' => 'Contraseña',
			'rules' => array('trim','required')
		)
	); // $validation
	

	public function __construct($id = NULL)
	{
		parent::__construct($id);
	}

} // Class Usuario_protoweb

/* End of file usuario_protoweb.php */
/* Location: ./application/models/protoweb/usuario_protoweb.php */